package com.jason.quectel;

/**
 * @author：Jason
 * @date：2022/3/8 16:58
 * @email：1129847330@qq.com
 * @description:
 */
public class WashMachine extends Machine {
    public WashMachine(String branch, float price) {
        super(branch, price);
    }

    @Override
    public void work() {
        System.out.println("我是洗衣机，我洗衣服");
    }

    @Override
    public int getElectric() {
        return 220;
    }
}